package com.yunban.project.template.model.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: lijiajun
 * @date: 2025-03-26
 * @version: 1.0
 */
@Data
@Schema(description = "预览记录")
public class PreviewRecord implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    private String previewId;
    private String html;
    private LocalDateTime expireTime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
